libxl: Add support for Device Tree passthrough
authorJulien Grall <julien.grall@linaro.org>
Wed, 13 May 2015 18:33:40 +0000 (19:33 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 May 2015 14:12:09 +0000 (15:12 +0100)
commit2017224d3d2ce9bed2dd5731487dd9caf422fde6
treee3993c6487ffbbdb49397f4219693b1b525b4b54
parentc3ba52a84dd84ff27105a95943091e96b25a1178
libxl: Add support for Device Tree passthrough

On ARM, every non-PCI device are described in the device tree. Each of
them can be found via a path.

This patch introduces a very basic support, only the IOMMU will be set
up correctly. The user will have to:
    - Describe the device in the partial device tree
    - Map manually MMIO/IRQ

This is a first approach, that will allow to have a basic Device Tree
passthrough support in Xen. This could be improved later.

Furthermore add LIBXL_HAVE_DEVICETREE_PASSTHROUGH to indicate we
support Device Tree passthrough and partial device tree (introduced by a
previous patch).

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl